package psbc.daily.service;

import psbc.daily.entity.MyLog;
import com.baomidou.mybatisplus.extension.service.IService;
import psbc.daily.entity.dto.SearchDto;

import java.text.ParseException;
import java.util.List;

public interface MyLogService extends IService<MyLog>{
    List<MyLog> getAll(Long currentId);

    int addLog(MyLog record);

    MyLog selectById(int id);

    List<MyLog> selectByDate(SearchDto searchDto, Long currentId) throws ParseException;

    int deleteByDate(String recordDate);

    int deleteById(int id);

    int updateLog(MyLog myLog);
}
